package com.wantupai.translate;

import android.os.Environment;

/**
 * @author luxuchang
 * @date 2019/4/24 0024
 * @description
 */
public class Constant {

    public static final String TPUID = "TPUID";
    public static final String TPTOKEN = "TPTOKEN";

    public static String ImagePath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/takePicTranslate/imageCache/";
    public static final String FAILEDCONNECT = "failed to connect to";
    public static final String NETWORKUNREACHABLE = "Network is unreachable";
    public static final String WECHAT_APPID = "wxce5da380e6a67b54";
    /**
     * 正式地址
     */
    public static final String SSP_API_BASE_URL = "http://wtp.wantupai.com/";

    /**
     * 手机号登录
     */
    public static final String SSP_API_PHONE_LOGIN = SSP_API_BASE_URL + "api/verificationUser/mobileLogin";

    /**
     * 获取验证码
     */
    public static final String SSP_API_SEND_SMS = SSP_API_BASE_URL + "api/verificationUser/sendsms";

    /**
     * 图片文字识别*
     */
    public static final String SSP_API_IMAGETOWORD = SSP_API_BASE_URL + "api/baidu/ocr_general_basic";
    /**
     * 文字翻译
     */
    public static final String SSP_API_TRANSLATE = SSP_API_BASE_URL + "api/xunFei/translate";
    /**
     * 文本转mp3
     */
    public static final String SSP_API_TEXT2MP3 = SSP_API_BASE_URL + "api/xunFei/text2mp3";
}
